<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Need a better strategy',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/02/20.jpg" alt="Darkness all around" class="framed-centred-image" width="649" height="480"/>
<section id="dreams">
	<h2>Dream journal</h2>
	<p>
		I dreamed I was a part of some group, and we were paired up to dance.
		Somehow, I ended up with a former workmate of mine.
		He&apos;s a cute, Native American man, but way too young for me.
		He&apos;s got black hair, and slightly darkish skin.
		We were having fun, but I didn&apos;t want to give him the impression I&apos;m into him or anything, especially because I think he&apos;s straight.
		Something distracts me for a bit, so I look away for a couple seconds, and when I turn back, I&apos;m dancing with a blonde girl with pale skin.
		What I notice most was her shirt though.
		It&apos;s colour is between pink and peach, and I know he wasn&apos;t wearing that.
		So I ask if she just changed shirts, thinking he&apos;s dressed himself up like a girl now.
		I guess I thought he was in a wig, too.
		I&apos;m not sure how I was accounting for the skin colour change.
		She says she did, but then I see him next to us, and the three of us dance for a bit.
		She mentions that she hates being at these dances alone, and that there were an odd number of participants, and starts to leave.
		I invite her to stay with us, but she leaves anyway.
		I turn back to him, and now he really is dressed like a girl.
		But while she was just dressed casually like a girl, he&apos;s in over-the top drag that not even I would wear.
		He even shows me his long, fake, glittery nails.
	</p>
</section>
<section id="comprehension">
	<h2>Reading comprehension</h2>
	<p>
		I had another person write to me about a past journal entry.
		This time, they noticed that I&apos;d linked to a certain other website, and they had an article about that website they wanted me to link to as well.
		Except, that page had only a four-sentence paragraph that even mentioned that website, and it specifically said that because the website is run by $a[Tor]-haters, I refuse to link to it like I would any other website I happen to mention.
		Not only was the page not about that website, but the one small part that did mention it specifically said no link would be provided to that website.
		Why on earth did the letter-sender think I&apos;d linked to that website?
		Clearly, they think it&apos;s a good idea to simply see the name of a site is mentioned, not check for context, and not check for links, then just assume a link was provided.
		Sheesh.
		Don&apos;t waste my time like that, people.
		If you can&apos;t be bothered to read what I write on my pages, then please don&apos;t bother to write to me about said pages.
		It only makes you look like an imbecile.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion posts for the day:
	</p>
	<blockquote>
		<p>
			I actually use $a[PHP] to format my posts, ha ha.
			I&apos;ve got a class that reads files full of abbreviations, and I instantiate it with one that keeps every abbreviation I&apos;ve ever used.
			Thanks to the <code>ArrayAccess</code> interface, I just treat it as an array, and use it to add <code>&lt;abbr/&gt;</code> tags.
			For example, if I want to say &quot;$a[PHP] is a language.&quot;, I just type <code><var>\$a</var>[PHP] is a language.</code> within the long string that is my unformatted post.
		</p>
		<p>
			I wasn&apos;t aware of the effects on screen readers when using a $a[URI] as link text.
			I guess I&apos;ll stop doing that then.
			My bad.
			I still want links to be available in my references sections though, so maybe linking the title of the document instead would work.
			That&apos;d probably work better than linking the $a[URI] text not only for screen readers, but search engines as well.
		</p>
		<p>
			I haven&apos;t worked with CommonMark, though I don&apos;t use Markdown due to its inability to escape certain characters.
			For example, there&apos;s no way to include underscores in your text (because underscores are a Markdown-reserved character) without using some other unwanted formatting option that causes text to be displayed differently.
			When I work with a language, I expect everything in a formatted string to be escapable, and Markdown doesn&apos;t offer that.
			Some websites even use a non-standard version of Markdown for that reason, which allow you to properly escape any character you like using a backslash.
			That should be a part of standard Markdown, but it just isn&apos;t.
		</p>
	</blockquote>
	<blockquote>
		<p>
			Like you said, the server&apos;s configuration determines which files will be interpreted as $a[PHP] and which won&apos;t be.
			I like your examples of how to try to detect it though.
			For example, $a[PHP] often advertises its presence in the $a[HTTP] headers, and a Web developer might put comments related to $a[PHP] in the $a[XHTML] comments instead of the $a[PHP] comments, giving people that examine the page source a hint that $a[PHP] is in use.
			Session cookies used by $a[PHP] also have the distinctive name: <var>PHPSESSID</var>.
			I just tried to look it up in my cookie store, but it seems the new Firefox release prevents users from looking at the cookies stored on their own machine.
			That&apos;s rather stupid.
			I swear, Firefox just keeps getting worse as time goes on.
			Still, on a better browser, you can see that cookie name in your cookie store for a website utilising $a[PHP] sessions.
			Usually.
			Again, non-$a[PHP] pages can use that same cookie name, while $a[PHP] files can rename the session cookie to something else.
			It all comes down to server configuration.
		</p>
	</blockquote>
	<blockquote>
		<p>
			I agree, while I&apos;m not really a fan of that Web comic, that plot is a pretty good example on the dangers of extrapolation.
			There are trends to things, but there are limits to the range in what we can predict.
			In that diagram, we see that if use of a particular word continues increasing at its current rate, we&apos;d reach a point where every sentence is composed of long strings of just that word.
			As the diagram shows, we don&apos;t know where to go from there.
			Even if that was somehow a reasonable prediction, which it obviously isn&apos;t, we can&apos;t increase the frequency of that word any further.
			We can&apos;t reach a point where 101% of the words used are that one.
			While the diagram doesn&apos;t show that end, we&apos;ve got an issue when we try to extrapolate off the other side of the range, too.
			We end up predicting that people said that word a negative number of times in past years, which doesn&apos;t make sense either.
		</p>
	</blockquote>
</section>
<section id="breakdown">
	<h2>Falling apart</h2>
	<p>
		I feel like I&apos;m starting to burst at the seams, mentally.
		I feel like the world is caving in around me.
		I frequently stop for several seconds, just overwhelmed.
		I&apos;m under way too much stress, and I&apos;m all alone.
		I mean, I by no means feel lonely or anything; I&apos;m under way too much stress to feel anything <strong>*but*</strong> stress.
		But they say it&apos;s easier to get through things when someone has your back.
		And no one has mine.
	</p>
	<p>
		Anyway, I think I have a plan of action for now.
		First, I need to write off my course on Web development, almost entirely.
		So far, I&apos;ve learned nothing in it.
		All we&apos;ve covered is things I already know, and some of what we&apos;ve covered is actually dead wrong.
		I need to get my work done in that course as soon as possible in the week to get it out of the way, but assume nothing important is going on, and skip the reading assignments.
		I mean, I&apos;ve already <strong>*been*</strong> skipping the reading assignments for the past couple weeks, just not been expecting I would until I saw them.
		It&apos;s all been stuff such as &quot;read the introduction to the $a[PHP] manual&quot;, &quot;read this tutorial on $a[PHP]&quot;, and stuff like that.
		But going forward, I need to plan to skip the reading to free up my time better.
		I need to go over the list of reading assignments for the week in that course first thing, see that they&apos;re skipable, and consider myself done with them.
		No more planning to get to them when I get to them.
		Second, I need to put more time and effort into my machine learning course.
		It&apos;s a course on machine learning, which is typically used for evil, is a bit complicated, and like all my courses, is run by the school that drains me via their censorship of me and my website.
		It&apos;s difficult mustering up the strength to deal with that course, but it needs to be done.
		And by shifting resources from the other course to this one, I should be able to handle it better.
		I need to try to get this work done as soon as possible too.
		If I can work up the strength to get done early, I&apos;ll have time for other things that&apos;ll make me feel better.
		Things such as researching what I need to do to get my face fixed.
		Not seeing my beard and ugly moustache in the mirror would probably help my confidence and self-esteem.
		I mean, I take a hit every time I see those stupid hair specks that won&apos;t go away no matter how closely I shave.
	</p>
	<p>
		I think my scripture study is taking away from my emotional resources as well.
		It&apos;s yet one more thing that I&apos;ve got to get done.
		It doesn&apos;t have to be though.
		I mean, what <strong>*are*</strong> the scriptures, anyway?
		They&apos;re just mythology.
		And I enjoy reading mythology.
		Instead of treating scripture-reading as yet another task I must complete, I <strong>*should*</strong> be using it as a tool to unwind.
		I mean yes, I&apos;ve got to analyse this mythology and write about it, but I enjoy analysing and writing, too, as long as said writing isn&apos;t being censored.
		And as this isn&apos;t for coursework, it&apos;s not.
		This needs to be my down time.
		It needs to be what I do to relax between coursework tasks so I can get back to coursework sooner.
	</p>
</section>
END
);
